<!--
 * @Author: hua
 * @Date: 2019-11-20 20:10:57
 * @description: 
 * @LastEditors: hua
 * @LastEditTime: 2019-11-20 20:12:15
 -->
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="socket.io.js"></script>
</head>
<body>
    <script>
        
        window.apiSocket = io.connect('http://127.0.0.1:501/api');    
    </script>
</body>
</html>